package com.jay.lang.clazz;

public class LongCls {
	public static void main(String[] args) {
		System.out.println(Long.MAX_VALUE);
		System.out.println(Long.MIN_VALUE);
		System.out.println(Long.bitCount(21));
		int i = 137;
		Long ii = Long.valueOf(i);
		System.out.println(ii.doubleValue());
		System.out.println(ii.floatValue());
		System.out.println(ii.longValue());
		System.out.println(ii.byteValue());
		System.out.println(ii.shortValue());
		System.out.println(Long.highestOneBit(i));
		System.out.println(Long.lowestOneBit(i));
		System.out.println(Long.numberOfLeadingZeros(i));
		System.out.println(Long.numberOfTrailingZeros(i));
		System.out.println(Long.reverse(i));
		System.out.println(Long.reverseBytes(i));
		System.out.println(Long.rotateLeft(i, 1));
		System.out.println(Long.rotateRight(i, 1));
		System.out.println(Long.signum(i));
		System.out.println(Long.toBinaryString(i));
		System.out.println(Long.toHexString(i));
		System.out.println(Long.toOctalString(i));
	}
}
